Bring back redundant notifications for GtkToggleButton::draw-indicator
authorMatthias Clasen <mclasen@redhat.com>
Sat, 28 Jun 2014 01:22:40 +0000 (21:22 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 28 Jun 2014 01:22:40 +0000 (21:22 -0400)
commit08e5efd60584098d0bd509fcb343cf68077a80ec
treee072a5b0adbc3aeb76a6fe17a13019aedf830443
parentaf507be99b7f6d440ccecaac126a3eb8b7c0c4eb
Bring back redundant notifications for GtkToggleButton::draw-indicator

GtkCheckButton sets a different initial value for this property without
actually changing the declared default, and then relies on change notification
to update other properties (such as xalign). This, combined with glades
insistance on putting default values into ui files creates a situation
where we can't remove the redundant notification for ::draw-indicator
without causing lots of checkboxes to suddenly have centered labels.
This was seen in gnome-terminal, evolution, and other applications.

Therefore, keep the extra notification for now. This can be revisited
when we clean up the button hierarchy.
gtk/gtktogglebutton.c